@charset "utf-8";

body {
  color: #444F58;
}

a {
  color: #444F58;
  -webkit-transition: color 300ms ease;
  transition: color 300ms ease;

  &:hover {
    color: #eb413d;
  }
}

///*********************************** 容器 **********************************/

.root {
  width: 100%;
}

.container {
  width: 1000px;
  margin: auto;
}

///*********************************** 帮助顶栏 **********************************/

.help_topbar {
  background-color: #f1f1f1;
  font-size: 13px;
  height: 30px;
  line-height: 30px;

  .deliver {
    position: relative;

    &:hover {
      .has_selected {
        &::after {
          display: block;
        }

        span {
          border-color: #dddddd;
          background-color: #ffffff;
        }

        i {
          -webkit-transform: rotate(180deg) translate3d(0, -10%, 0);
          transform: rotate(180deg) translate3d(0, -10%, 0);
        }
      }

      .list {
        visibility: visible;
        opacity: 1;
        -webkit-transform: none;
        transform: none;
      }
    }

    .has_selected {
      position: relative;

      &::after {
        content: "";
        display: none;
        height: 3px;
        position: absolute;
        left: 1px;
        right: 1px;
        bottom: -1px;
        z-index: 2;
        background-color: #ffffff;
      }

      span {
        display: block;
        padding: 0 25px 0 10px;
        border-left: 1px solid transparent;
        border-right: 1px solid transparent;
        cursor: default;
        max-width: 180px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-transition: border-color 300ms ease, background-color 300ms ease;
        transition: border-color 300ms ease, background-color 300ms ease;
      }

      i {
        position: absolute;
        right: 4px;
        top: 0;
        font-size: 18px;
        -webkit-transition: -webkit-transform 300ms ease, transform 300ms ease;
        transition: -webkit-transform 300ms ease, transform 300ms ease;
      }
    }

    .list {
      position: absolute;
      left: 0;
      top: 100%;
      z-index: 1;
      padding: 10px 0 10px 10px;
      width: 310px;
      overflow: hidden;
      visibility: hidden;
      opacity: 0;
      -webkit-transform: scaleY(0);
      -webkit-transform-origin: top;
      transform: scaleY(0);
      transform-origin: top;
      background-color: #ffffff;
      border: 1px solid #dddddd;
      -webkit-transition: visibility 300ms ease, opacity 150ms ease, -webkit-transform 300ms ease, transform 300ms ease;
      transition: visibility 300ms ease, opacity 150ms ease, -webkit-transform 300ms ease, transform 300ms ease;

      .item {
        float: left;
        width: 60px;
        height: 28px;
        line-height: 28px;

        a {
          padding: 0 8px;
          float: left;
          max-width: 100%;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          box-sizing: border-box;
          -webkit-transition: color 300ms ease, background-color 300ms ease;

          &:hover {
            background-color: #f4f4f4;
          }
        }
      }

      .item.highlight {
        a {
          background-color: #C81623;
          color: #ffffff;
        }
      }
    }
  }

  .nav {
    .item {
      float: left;
      position: relative;

      &:not(:first-child) {
        &::before {
          content: "";
          float: left;
          width: 1px;
          height: 30px;
          background-color: #dddddd;
          background-clip: content-box;
          padding: 8px 0;
          box-sizing: border-box;
          margin: 0 1px;
        }
      }

      > a, > span {
        float: left;
        border-left: 1px solid transparent;
        border-right: 1px solid transparent;
        padding: 0 26px 0 8px;
        -webkit-transition: color 300ms ease, border-color 300ms ease, background-color 300ms ease;
        transition: color 300ms ease, border-color 300ms ease, background-color 300ms ease;

        &::after {
          content: "";
          display: none;
          height: 3px;
          position: absolute;
          left: 4px;
          right: 1px;
          bottom: -1px;
          z-index: 2;
          background-color: #ffffff;
        }

        &:nth-last-child(2), &:last-child {
          padding-right: 8px;

          &::after {
            display: none;
          }
        }
      }

      > span {
        cursor: default;
      }

      > i {
        position: absolute;
        top: 0;
        right: 5px;
        font-size: 18px;
        -webkit-transition: -webkit-transform 300ms ease, transform 300ms ease;
        transition: -webkit-transform 300ms ease, transform 300ms ease;

        &:last-child {
          display: none;
        }
      }

      .nav_sub, .nav_class, .nav_detail {
        visibility: hidden;
        opacity: 0;
        -webkit-transform: scaleY(0);
        -webkit-transform-origin: top;
        transform: scaleY(0);
        transform-origin: top;
        background-color: #ffffff;
        border: 1px solid #dddddd;
        -webkit-transition: visibility 300ms ease, opacity 150ms ease, -webkit-transform 300ms ease, transform 300ms ease;
        transition: visibility 300ms ease, opacity 150ms ease, -webkit-transform 300ms ease, transform 300ms ease;
      }

      .nav_sub {
        position: absolute;
        left: 3px;
        top: 100%;
        z-index: 1;
        padding: 5px 0 5px 0;
        width: 265px;

        .row {
          overflow: hidden;

          ~ .row {
            border-top: 1px solid #f1f1f1;
          }

          &:not(:first-child) {
            padding-top: 5px;
          }

          &:not(:last-child) {
            padding-bottom: 5px;
          }

          ul {
            width: 50%;
            float: left;
            padding: 0 5px 0 15px;
            box-sizing: border-box;

            li {
              height: 24px;
              line-height: 24px;
              white-space: nowrap;
              overflow: hidden;
              text-overflow: ellipsis;
            }
          }
        }
      }

      .nav_class {
        position: absolute;
        left: 3px;
        top: 100%;
        z-index: 1;
        padding: 5px 0 5px 0;
        width: 172px;

        dl {
          padding: 0 0 5px 10px;
          overflow: hidden;
          &:not(:first-child) {
            border-top: 1px solid #f1f1f1;
            padding-top: 5px;
          }

          * {
            height: 24px;
            line-height: 24px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
          }

          dt {
            clear: both;
            font-weight: bold;
          }

          dd {
            float: left;
            width: 50%;
            padding-right: 10px;
            box-sizing: border-box;
          }
        }
      }

      .nav_detail {
        position: absolute;
        right: 0;
        top: 100%;
        z-index: 1;
        padding: 20px 0;
        overflow: hidden;
        width: 1000px;
        box-sizing: border-box;

        dl {
          float: left;
          width: 329px;
          box-sizing: border-box;
          padding-left: 20px;

          dt, dd {
            height: 24px;
            line-height: 24px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
          }

          dt {
            font-size: 14px;
            font-weight: bold;
            margin-bottom: 6px;
          }

          dd {
            float: left;
            width: 84px;
          }

          &:first-child {
            dd {
              &:not(:nth-of-type(3n+1)) {
                margin-left: 20px;
              }
            }
          }

          &:not(:first-child) {
            border-left: 1px solid #dddddd;
            width: 223px;

            dd {
              &:not(:nth-of-type(2n+1)) {
                margin-left: 20px;
              }
            }
          }
        }
      }

      &:hover {
        > a, > span {
          border-color: #dddddd;
          background-color: #ffffff;

          &::after {
            display: block;
          }

          &:nth-last-child(2), &:last-child {
            border-color: transparent;
            background-color: transparent;

            &::after {
              display: none;
            }
          }
        }

        .nav_sub, .nav_class, .nav_detail {
          visibility: visible;
          opacity: 1;
          -webkit-transform: scaleY(1);
          transform: scaleY(1);
        }

        > i {
          -webkit-transform: rotate(180deg) translate3d(0, -10%, 0);
          transform: rotate(180deg) translate3d(0, -10%, 0);
        }
      }
    }

    .ueser_log {
      a {
        + a {
          padding-left: 0;
        }
      }
    }
  }
}

///*********************************** 帮助头部 **********************************/

.head {
  .logo {
    display: block;
    width: 270px;
    height: 40px;
    margin: 10px 0;

    img {
      display: block;
      height: 100%;
    }
  }

  .nav {
    overflow: hidden;
    margin-top: 13px;

    .item {
      float: left;
      line-height: 47px;

      &:not(:first-child) {
        margin-left: 15px;
      }

      a {
        display: block;
        padding: 0 10px;
        -webkit-transition: color 300ms ease, background-color 300ms ease;

        &:hover {
          color: #ffffff;
          background-color: #eb413d;
        }
      }
    }

    .item.active {
      a {
        color: #ffffff;
        background-color: #eb413d;
      }
    }
  }
}

///*********************************** 帮助搜索框 **********************************/

.search_form {
  margin-top: 20px;
  margin-bottom: 15px;
  text-align: center;
  background-color: #d33031;
  position: relative;

  img {
    width: 1000px;
    vertical-align: middle;
  }

  form {
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    bottom: 30px;
    text-align: center;
    font-size: 0;
    white-space: nowrap;
    border: 4px solid #efefef;

    input {
      height: 46px;
      vertical-align: middle;
    }

    input[type="search"] {
      border: none;
      font-size: 13px;
      width: 700px;
      padding: 0 10px;
    }

    input[type="submit"] {
      background-color: #eb413d;
      border: none;
      font-size: 20px;
      width: 120px;
      color: #ffffff;
      cursor: pointer;

      &:active {
        padding-top: 1px;
        padding-left: 1px;
      }
    }
  }
}

///*********************************** 帮助边栏 **********************************/

.side {
  width: 210px;
  margin-bottom: 20px;

  .caption {
    height: 40px;
    line-height: 40px;
    font-size: 18px;
    color: #ffffff;
    background-color: #eb413d;
    text-align: center;
  }
}

///*********************************** 帮助主要内容 **********************************/

.main {
  width: 780px;
  margin-bottom: 20px;
}

///*********************************** 收缩框模块 **********************************/

.contraction {
  font-size: 13px;
  border-left: 2px solid #eaeaea;
  border-right: 2px solid #eaeaea;
  -webkit-transition: border-color 300ms ease;
  transition: border-color 300ms ease;

  + .contraction {
    margin-top: 1px;
  }

  &:hover {
    border-color: #dadada;

    .title {
      background-color: #dadada;
    }

    .list {
      .item {
        &:last-child {
          border-color: #dadada;
        }
      }
    }
  }

  .title {
    height: 40px;
    line-height: 40px;
    background-color: #eaeaea;
    padding-left: 36px;
    position: relative;
    font-weight: bold;
    -webkit-transition: background-color 300ms ease;
    transition: background-color 300ms ease;
    cursor: default;

    &::after {
      content: "";
      display: block;
      position: absolute;
      left: 18px;
      top: 17px;
      border-width: 5px 5px 0;
      border-style: solid;
      border-color: #999999 transparent transparent;
      -webkit-transition: -webkit-transform 300ms ease, transform 300ms ease;
      transition: -webkit-transform 300ms ease, transform 300ms ease;
    }
  }

  .list {
    display: none;

    .item {
      height: 30px;
      line-height: 30px;
      border-bottom: 1px solid #eaeaea;

      &:last-child {
        border-bottom: 2px solid #eaeaea;
        -webkit-transition: border-color 300ms ease;
        transition: border-color 300ms ease;
      }

      a {
        display: block;
        padding-left: 36px;
        -webkit-transition: color 300ms ease, background-color 300ms ease;

        &::before {
          content: "·";
          margin-right: 5px;
        }

        &:hover {
          background-color: #faf8f9;
        }
      }
    }

    .item.active {
      a {
        font-weight: bold;
        color: #eb413d;
      }
    }
  }
}

.contraction.open {
  .title {
    &::after {
      -webkit-transform: rotate(180deg);
      transform: rotate(180deg);
    }
  }
}

///*********************************** 网站位置模块 **********************************/

.location {
  font-size: 13px;
  background-color: #eaeaea;
  line-height: 40px;
  padding: 0 15px;

  .item {
    &:not(:first-child) {
      &::before {
        content: ">";
        margin-right: 5px;
      }
    }
  }
}

.details {
  .classify {
    overflow: hidden;
    line-height: 36px;
    font-size: 0;
    margin: 10px auto;
    width: 720px;

    .item {
      display: inline-block;
      vertical-align: middle;
      font-size: 14px;
      height: 14px;
      font-weight: bold;
      line-height: 1em;
      padding: 0 10px;

      &:not(:last-child) {
        border-right: 1px solid #666666;
      }
    }
  }

  .list_details {
    //width: 700px;
    margin: auto;
    padding: 22px;
    border: 1px solid #eaeaea;
    font-size: 13px;
    box-sizing: border-box;
    min-height: 560px;

    img {
      max-width: 100%;
    }

    .title, .list {
      margin-left: 24px;
      margin-right: 24px;
    }

    .title {
      color: #eb413d;
      font-size: 16px;
      font-weight: bold;
      margin-bottom: 1em;
      margin-top: 12px;
    }

    .list {
      .item {
        position: relative;
        padding-left: 1.2em;
        line-height: 2em;

        &::before {
          content: "·";
          font-weight: bold;
          position: absolute;
          left: 0;
          top: 0;
        }
      }
    }

    h1 {
      font-size: 16px;

      + h3 {
        margin-top: 2em;
      }
    }

    h3 {
      font-size: 15px;
      margin: 1em 0;
    }

    p {
      margin: 1.5em 0;
      line-height: 1.5em;

      + h3 {
        margin-top: 2em;
      }
    }
    
    .text_red {
      color: #eb413d;
    }
  }
}

.sui-pagination {
  margin: auto;
  margin-top: 24px;
  //width: 700px;
}

.sui-pagination ul {
  margin-bottom: 36px;
}

.sui-pagination ul input {
  border: none;
  background: none;
  margin: 0;
  width: 30px;
  color: #444f58;
  margin-top: -3px;
}

.sui-pagination ul input:hover, .sui-pagination ul input:active {
  color: #EB413D;
}

.sui-pagination ul li {
  float: left;
  margin-left: 5px;
  margin-right: 5px;
}

.sui-pagination ul li a {
  width: 38px;
  height: 38px;
  border: 1px solid #e7e7e7;
  border-radius: 5px;
  text-align: center;
  line-height: 38px;
  font-size: 16px;
  color: #444f58;
}

.sui-pagination ul li .activebaba {
  border: 1px solid #EB413D;
  color: #EB413D;
  background-color: white;
}

.sui-pagination ul li:hover a, .sui-pagination ul li:active a {
  border: 1px solid #EB413D;
  color: #EB413D;
  background: none;
}

.sui-pagination ul li:hover a input, .sui-pagination ul li:active a input {
  color: #EB413D;
}

.sui-pagination ul .yema a {
  width: 60px;
}

.sui-pagination ul .dotted {
  border-left: 0;
  border-right: 0;
  margin-left: 0;
}

.sui-pagination ul .dotted span {
  height: 38px;
  line-height: 38px;
  font-size: 16px;
  margin: 0;
  background: none;
  border: none;
  color: #444f58;
}

.select .xm_select a {
  border-right: 1px solid #efefef;
}

.select .xm_show ul li {
  background: #ffffff;
}
